<template>
	<!-- <view class="user">
		<view class="top">
			<view class="top-one">
				<image src="../../static/my/shezhi.png" mode="" class="ioc"></image>
				<image src="../../static/my/kefu.png" mode="" class="ioc"></image>
			</view>
			<view class="top-two">
				<image src="../../static/headicon/2.jpeg" mode="" class="img"></image>
				<view class="right">
					<view class="top-text">
						方南
					</view>
					<view class="bottom-text">
						关注 10 | 粉丝 2
					</view>
				</view>
			</view>
			<view class="top-three">
				<view class="list" v-for="(item, index) in top_list" :key="index">
					<view class="num">
						{{ item.num }}
					</view>
					<view class="text">
						{{ item.name }}
					</view>
				</view>
			</view>
			<view class="top-four">
				<text>偷偷告诉你，自习时长越久，优惠越多哦~</text>
				<text>></text>
			</view>
		</view>
		<view class="bottom">
			<userfunclist></userfunclist>
		</view>
		<view class="background">
			
		</view>
	</view> -->
	<image src="https://z3.ax1x.com/2021/05/28/2FqeS0.png" mode="aspectFit" class="rubish"></image>
</template>

<script>
	import userfunclist from '../../components/userFuncList.vue'
	export default {
		name: 'user',
		data() {
			return {
				top_list: [{
						num: 0,
						name: '收藏'
					},
					{
						num: 3,
						name: '评价'
					},
					{
						num: 7,
						name: '足迹'
					},
					{
						num: 0,
						name: '优惠券'
					}
				],

			};
		},
		components: {
			userfunclist
		}
	}
</script>

<style lang="scss" scoped>
	.rubish{
		margin-top: -80rpx;
		width: 750rpx;
		height: 1350rpx;
	}
	.user {
		position: relative;
		box-sizing: border-box;
	}

	.top {
		background-color: #6BC12D;
		height: 430rpx;
		padding: 0 25rpx;

		.top-one {
			display: flex;
			justify-content: flex-end;
			align-items: center;
			padding: 20rpx 15rpx 0;

			.ioc {
				width: 35rpx;
				height: 35rpx;
				margin-left: 25rpx;
			}
		}

		.top-two {
			display: flex;

			.img {
				width: 80rpx;
				height: 80rpx;
				border-radius: 50%;
				border: 1px solid #FFFFFF;
			}

			.right {
				margin-left: 20rpx;

				.top-text {
					font-size: 36rpx;
					font-weight: bold;
					color: #FFFFFF;
				}

				.bottom-text {
					margin-top: 10rpx;
					font-size: 25rpx;
					color: #FFFFFF;
				}
			}
		}

		.top-three {
			margin-top: 25rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			color: #000;

			.list {
				padding: 0 40rpx;
				text-align: center;

				.num {
					color: #FFFFFF;
				}

				.text {
					color: #FFFFFF;
					font-size: 28rpx;
					margin-top: 10rpx;
				}
			}
		}

		.top-four {
			margin-top: 20rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 15rpx 20rpx;
			font-size: 25rpx;
			color: #e5e5e5;
			background-color: #5e6b71;
			border-radius: 10rpx;
		}

	}

	.bottom {
		margin-left: 50%;
		transform: translateX(-50%);
		// text-align: center;
		// background-color: red;
		position: absolute;
		top: 360rpx;
	}

	.background {
		position: fixed;
		top: 0rpx;
		bottom: 0rpx;
		left: 0px;
		right: 0px;
		z-index: -55;
		background-color: #efefef;
	}
</style>
